package com.ruoyi.order.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 订单详情对象 ord_details
 * 
 * @author ruoyi
 * @date 2023-10-12
 */
public class Details extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单详情id */
    private Long orderDetailsId;

    /** 订单编号 */
    @Excel(name = "订单编号")
    private String orderNumber;

    /** 商品数量 */
    @Excel(name = "商品数量")
    private Long orderTotal;

    /** 订单金额 */
    @Excel(name = "订单金额")
    private Long orderMoney;

    /** 配送员 */
    @Excel(name = "配送员")
    private String deliveryName;

    /** 配送员电话uuid */
    private String deliveryPhoneUuid;

    /** 配送员电话 */
    @Excel(name = "配送员电话")
    private String deliveryPhone;

    /** 配送地址 */
    @Excel(name = "配送地址")
    private String deliveryAddress;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 商品id */
    @Excel(name = "商品id")
    private Long productId;

    /** 用户备注 */
    private String orderNotes;

    public void setOrderDetailsId(Long orderDetailsId) 
    {
        this.orderDetailsId = orderDetailsId;
    }

    public Long getOrderDetailsId() 
    {
        return orderDetailsId;
    }
    public void setOrderNumber(String orderNumber) 
    {
        this.orderNumber = orderNumber;
    }

    public String getOrderNumber() 
    {
        return orderNumber;
    }
    public void setOrderTotal(Long orderTotal) 
    {
        this.orderTotal = orderTotal;
    }

    public Long getOrderTotal() 
    {
        return orderTotal;
    }
    public void setOrderMoney(Long orderMoney) 
    {
        this.orderMoney = orderMoney;
    }

    public Long getOrderMoney() 
    {
        return orderMoney;
    }
    public void setDeliveryName(String deliveryName) 
    {
        this.deliveryName = deliveryName;
    }

    public String getDeliveryName() 
    {
        return deliveryName;
    }
    public void setDeliveryPhoneUuid(String deliveryPhoneUuid) 
    {
        this.deliveryPhoneUuid = deliveryPhoneUuid;
    }

    public String getDeliveryPhoneUuid() 
    {
        return deliveryPhoneUuid;
    }
    public void setDeliveryPhone(String deliveryPhone) 
    {
        this.deliveryPhone = deliveryPhone;
    }

    public String getDeliveryPhone() 
    {
        return deliveryPhone;
    }
    public void setDeliveryAddress(String deliveryAddress) 
    {
        this.deliveryAddress = deliveryAddress;
    }

    public String getDeliveryAddress() 
    {
        return deliveryAddress;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }
    public void setOrderNotes(String orderNotes) 
    {
        this.orderNotes = orderNotes;
    }

    public String getOrderNotes() 
    {
        return orderNotes;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orderDetailsId", getOrderDetailsId())
            .append("orderNumber", getOrderNumber())
            .append("orderTotal", getOrderTotal())
            .append("orderMoney", getOrderMoney())
            .append("deliveryName", getDeliveryName())
            .append("deliveryPhoneUuid", getDeliveryPhoneUuid())
            .append("deliveryPhone", getDeliveryPhone())
            .append("deliveryAddress", getDeliveryAddress())
            .append("userId", getUserId())
            .append("productId", getProductId())
            .append("orderNotes", getOrderNotes())
            .toString();
    }
}
